<!doctype html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../assert_selection.js"></script>
<script>
selection_test(
  [
    '<div>^All of this should be selected|</div>',
    '<div>None of this should be selected.</div>',
  ],
  selection => selection.modify('extend', 'forward', 'sentence'),
  [
    '<div>^All of this should be selected</div>',
    '<div>|None of this should be selected.</div>',
  ],
  'extend forward sentence');
</script>
